package com.lyh.common.core.domain.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * 用户登录对象
 *
 * @author lyh
 */
@ApiModel(value = "用户登录", description = "用户登录")
public class LoginInvitationCodeBody
{
    /**
     * 用户名
     */
    @ApiModelProperty(example = "手机号")
    @NotNull
    private String telephone;


    /**
     * 验证码
     */
    @ApiModelProperty(example = "验证码")
    @NotNull
    private String code;

    /**
     * 验证码
     */
    @ApiModelProperty(example = "邀请码")
    private String invitationCode;

    public String getTelephone() {
        return telephone;
    }

    public String getInvitationCode() {
        return invitationCode;
    }

    public void setInvitationCode(String invitationCode) {
        this.invitationCode = invitationCode;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
